﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Diagnostics;

namespace Conteinerid.Aspects
{
    public class LogAdvice:Advice
    {
        public override void Execute(object sender, AspectEventArgs args)
        {
            Debug.Write(String.Format("{0} - {1}", args.MethodName, string.Join("|",args.Parameters.Select(p=>p.ToString()).ToArray())));
        }
    }
}
